madmax писал(а):
Выходит ошибка
25.05.2009 16:32:18 Sourced file: inline evaluation of: ``import bitel.billing.server.radius.*;   atr = request.getAttribute(RadiusStandar . . . '' : Found non-public method: private bitel.billing.server.radius.RadiusAttribute bitel.billing.server.radius.RadiusPacket.getAttribute(int).  Use setAccessibility(true) to enable access to  private and protected members of classes. : at Line: 3 : in file: inline evaluation of: ``import bitel.billing.server.radius.*;   atr = request.getAttribute(RadiusStandar . . . '' : request .getAttribute ( RadiusStandartAttributes .NAS_IP_Address ) 
25.05.2009 16:32:18 	at bsh.UtilEvalError.toEvalError(Unknown Source)
25.05.2009 16:32:18 	at bsh.UtilEvalError.toEvalError(Unknown Source)
25.05.2009 16:32:18 	at bsh.Reflect.invokeObjectMethod(Unknown Source)
25.05.2009 16:32:18 	at bsh.Name.invokeMethod(Unknown Source)
25.05.2009 16:32:18 	at bsh.BSHMethodInvocation.eval(Unknown Source)
25.05.2009 16:32:18 	at bsh.BSHPrimaryExpression.eval(Unknown Source)
25.05.2009 16:32:18 	at bsh.BSHPrimaryExpression.eval(Unknown Source)
25.05.2009 16:32:18 	at bsh.BSHAssignment.eval(Unknown Source)
25.05.2009 16:32:18 	at bsh.Interpreter.eval(Unknown Source)
25.05.2009 16:32:18 	at bsh.Interpreter.eval(Unknown Source)
25.05.2009 16:32:18 	at bsh.Interpreter.eval(Unknown Source)
25.05.2009 16:32:18 	at bitel.billing.server.processor.DefaultNASInfo.processRequestWithScript(DefaultNASInfo.java:275)
25.05.2009 16:32:18 	at bitel.billing.server.processor.voiceip.VoiceIpNASInfo.prepareAccountRequest(VoiceIpNASInfo.java:114)
25.05.2009 16:32:18 	at bitel.billing.server.radius.RadiusRequestThread.processRequest(RadiusRequestThread.java:135)
25.05.2009 16:32:18 	at bitel.billing.server.radius.RadiusRequestThread.run(RadiusRequestThread.java:48)
25.05.2009 16:32:18 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
25.05.2009 16:32:18 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
25.05.2009 16:32:18 	at java.lang.Thread.run(Thread.java:619)
это потому что у вас 4.5.. на 4.6 бы работало 
для 4.5 можно так:
Код:
atrInt = request.getIntAttribute(RadiusStandartAttributes.NAS_IP_Address );
      if ( atrInt == 0 )
      {
         atr = new RadiusAttribute(RadiusStandartAttributes.NAS_IP_Address );
         
         atr.setIntValue( IPUtils.convertStringIPtoInt( "10.0.0.1" ) );
         
         request.addAttribute( atr );
      }